package com.question.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 用户收藏题目记录表
 */
@TableName("user_favorites")
@Data
public class UserFavorite implements Serializable {

    @TableId(value = "favorite_id",type = IdType.AUTO)
    private Integer favoriteId;
    private Integer userId;
    private Integer questionId;
    private LocalDateTime createdAt;

}
